import { Injectable } from '@angular/core';
import {SimpleJsonFormatter} from '../../../ng-tools';

@Injectable({
  providedIn: 'root'
})
export class RobotManagerFormatterService {

  nickName: SimpleJsonFormatter = {propName: 'nickName', displayName: '机器人昵称'};
  userUid: SimpleJsonFormatter = {propName: 'userUid', displayName: '机器人ID'};
  userImage: SimpleJsonFormatter = {propName: 'userImage', displayName: '机器人头像'};
  userSign: SimpleJsonFormatter = {propName: 'whatSUp', displayName: '机器人签名'};
  constructor() {
  }
  get formatter() {
    return [
      this.userUid,
      this.nickName,
      this.userImage,
      this.userSign,
    ];
  }
}
